<!DOCTYPE html>
<html>
  <head>
    <title>hilo test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../../node_modules/mocha/mocha.css" />
    <style>
        html, body{
            margin:0px;
            padding: 0px;
        }
        #stage{
            position: absolute !important;
            top:0px;
            left:0px;
        }
        canvas{
            position: absolute;
            top:0px;
            left:0px;
        }
    </style>
  </head>
  <body>
    <div id='stage'></div>
    <div id="mocha"></div>
    <script src="../../node_modules/uitest/mocha.js"></script>
    <script src='../../node_modules/uitest/uitest-mocha-shim.js'></script>
    <script src='pixelmatch.js'></script>
    <script src='utils.js'></script>
    <script src="../../node_modules/should/should.js"></script>
    <script src="../../build/standalone/hilo-standalone.min.js"></script>
    <script src="../../build/flash/hilo-flash.min.js" data-auto="true"></script>
    <script>
    window._IS_WEB = true;
    window._IS_TRAVIS = false;
    if(typeof process === 'object'){
        window._IS_WEB = false;
        Hilo.browser.jsVendor = 'webkit';
        Hilo.browser.cssVendor = '-webkit-';
        if(process.env.TEST_FLAG === 'TRAVIS'){
            window._IS_TRAVIS = true;
        }
    }
    console.log('_IS_WEB:', _IS_WEB);
    console.log('_IS_TRAVIS:', _IS_TRAVIS);

    _macaca_uitest.setup({
      ui: 'bdd',
      timeout: 10000,
      slow: 5000
    });
    </script>
    <script src="../core.js"></script>
    <script src="../view.js"></script>
    <script src="../tween.js"></script>
    <script src="../loader.js"></script>
    <script src="../geom.js"></script>
    <script src="../event.js"></script>
    <script src="../util.js"></script>
    <script>
    _macaca_uitest.run();
    </script>
  </body>
</html>
